#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Experimental.Finitedifferences
{
     
    [Guid ("AA3ED3B2-B8AD-4b06-9A10-1CB920BA1113"),ComVisible(true)]
	public interface IFdmLinearOpLayout 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Experimental.Finitedifferences.IFdmLinearOpIterator Begin {get;}
        
		 Cephei.IVector<UInt64> Dim {get;}
        
		 Cephei.QL.Experimental.Finitedifferences.IFdmLinearOpIterator End {get;}
        
		 UInt64 Index(Cephei.IVector<UInt64> coordinates);
        
		 UInt64 Neighbourhood(Cephei.QL.Experimental.Finitedifferences.IFdmLinearOpIterator iterator, UInt64 i1, Int32 offset1, UInt64 i2, Int32 offset2);
        
		 UInt64 Neighbourhood(Cephei.QL.Experimental.Finitedifferences.IFdmLinearOpIterator iterator, UInt64 i, Int32 offset);
        
		 UInt64 Size {get;}
        
		 Cephei.IVector<UInt64> Spacing {get;}
    }

    // <summary> 
	//  Factory
	// </summary>
   	[ComVisible(true)]
    public interface IFdmLinearOpLayout_Factory // : Collection_Factory<IFdmLinearOpLayout, ICell<IFdmLinearOpLayout>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IFdmLinearOpLayout Create (Cephei.IVector<UInt64> dim);
    }
}

